# fedora-livecd-qtdesktop.ks
#
# v.2 - all inclusive +nonfree repos +selinux/firewall --disabled
#
# Description:
# - Fedora Live Spin with the QtDesktop Environment
#
# Maintainer(s):
# - TI_Eugene <ti.eugene@gmail.com>
#
# Requirements:
# - Live: RAM: HDD:
# - Installed: RAM: HDD:
#

%include /usr/share/spin-kickstarts/fedora-live-base.ks
%include /usr/share/spin-kickstarts/fedora-live-minimization.ks

repo --name=rpmfusion-free --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-$releasever&arch=$basearch
repo --name=rpmfusion-free-updates --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-$releasever&arch=$basearch
repo --name=rpmfusion-nonfree --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-$releasever&arch=$basearch
repo --name=rpmfusion-nonfree-updates --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-$releasever&arch=$basearch

selinux --disabled
firewall --disabled

%packages

# -cleanup

# +misc:
rpmreaper
#notification-daemon

# +QtDesktop:
clementine
goldendict
juffed-plugins
nomacs
pcmanfm-qt
qastools
qbittorrent
qlipper
qpdfview
qterminal
quiterss
qupzilla
qutim
qxkb
screengrab
smplayer
speedcrunch
vlc
razorqt
lightdm-razorqt

%end

%post
# create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/startrazor
DISPLAYMANAGER=/usr/sbin/lightdm
EOF

sed -i -e 's/NoDisplay=true/NoDisplay=false/g' /usr/share/applications/liveinst.desktop

%end
